package com.building18.service;

import com.building18.pojo.Result;
import com.building18.pojo.Role;
import com.building18.pojo.User;
import com.building18.pojo.vo.RoleVO;

import java.util.List;

public interface RoleService {
    List<RoleVO> getRoles(Integer id);

    List<RoleVO> getRolesByUid(Integer id);

    Integer saveRole(Integer id,List<Integer> roleIds);

    List<RoleVO> selectRoles();

    Integer deleteRole(Integer id);

    Integer updateRole(Role role);

    Role selectRole(Integer id);
}
